//
//

package sqs

import ()

type Message struct {
	Id            string           `xml:"MessageId"`
	ReceiptHandle string           `xml:"ReceiptHandle"`
	MD5           string           `xml:"MD5OfBody"`
	Body          string           `xml:"Body"`
	Attributes    []QueueAttribute `xml:"Attribute"`
}

func (m *Message) String() string {
	return m.Id + ": " + m.Body
}

// vim: fdm=syntax fdn=1
